package com.example.demo.model.dto;

import com.example.demo.model.entity.Prize;

import java.io.Serializable;
import java.util.List;

public class ActivityDTO implements Serializable {
    private static final long serialVersionUID = 23142887977L;

    private Integer id;

    private String name;

    private String startTime;

    private String endTime;

    private Integer chance;

    private List<Prize> prizeList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getChance() {
        return chance;
    }

    public void setChance(Integer chance) {
        this.chance = chance;
    }

    public List<Prize> getPrizeList() {
        return prizeList;
    }

    public void setPrizeList(List<Prize> prizeList) {
        this.prizeList = prizeList;
    }

    @Override
    public String toString() {
        return "ActivityDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", chance=" + chance +
                ", prizeList=" + prizeList +
                '}';
    }
}
